package org.advanced.base;

/**
 * @author John.zhang
 * @version Id: Running, v 1.0 2020/12/7 14:09 ZhiYong Exp $
 * 多继承实现
 */
public class Running implements Runnable {
    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName());
    }

    public static void main(String[] args) {
        Running running = new Running();
        new Thread(running).start();
    }
}
